﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.Domain.Entities.Supperrs
{
    /// <summary>
    /// 供应商信息实体类
    /// </summary>
    public class SupplierModels
    {
        /// <summary>
        /// 自增主键
        /// </summary>

        public int Id { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
    
        public string Name { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
     
        public string contact_person { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
  
        public string contact_phone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
 
        public string Address { get; set; }

        /// <summary>
        /// 状态（1-有效，0-无效）
        /// </summary>
        public byte Status { get; set; } = 1;  // 默认值1（有效）

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }  // 默认值为当前时间
    }
}
